<cfcomponent extends="assets.calgrants.com.Base">

	<cfscript>
        import assets.calgrants.com.service.StoredProcedureService;
		this.service = new StoredProcedureService();
	</cfscript>
	
	<cffunction name="call" output="false" access="remote" returntype="any">
		<cfreturn this.service.call(argumentCollection = arguments) />
	</cffunction>
	
	<cffunction name="getDuplicateEmails" output="false" access="remote" returntype="any">
		<cfargument name="sp" type="string" default="getDuplicateEmails" />
		<cfargument name="Email" type="string" />
		<cfreturn this.service.call(argumentCollection = arguments) />
	</cffunction>
	
	<cffunction name="getNextWorkshopDate" output="false" access="remote" returntype="any">
		<cfargument name="sp" type="string" default="getNextWorkshopDate" />
		<cfargument name="Organization_ID" type="numeric" />
		<cfreturn this.service.call(argumentCollection = arguments) />
	</cffunction>
	
	<cffunction name="authUser" output="false" access="remote" returntype="any">
		<cfargument name="sp" type="string" default="authUser" />
		<cfargument name="User_ID" type="numeric" default="" />
		<cfargument name="Email" type="string" default="" />
		<cfargument name="Password" type="string" default="" />
		<cfargument name="Program_Year" type="string" default="#getCurrentProgramYear()#" />
		<cfreturn this.service.call(argumentCollection = arguments) />
	</cffunction>
	
	<cffunction name="getExitSurveyChartData" output="false" access="remote" returntype="any">
		<cfargument name="sp" type="string" default="getExitSurveyChartData" />
		<cfargument name="workshopIDs" type="string" default="" />
		<cfargument name="organizationIDs" type="string" default="" />
		<cfargument name="regionIDs" type="string" default="" />
		<cfreturn this.service.call(argumentCollection = arguments) />
	</cffunction>
	
	<cffunction name="searchHighSchools" output="false" access="remote" returntype="any">
		<cfargument name="sp" type="string" default="searchHighSchools" />
		<cfargument name="searchString" type="string" default="" />
		<cfreturn this.service.call(argumentCollection = arguments) />
	</cffunction>
	
	<cffunction name="autocompleteCity" output="false" access="remote" returntype="any">
		<cfargument name="sp" type="string" default="autocompleteCity" />
		<cfargument name="term" type="string" default="" />
		<cfreturn this.service.call(argumentCollection = arguments) />
		<!--- <cfreturn SerializeJSON(QueryToStruct(this.service.call(argumentCollection = arguments)), true) /> --->
	</cffunction>
	
	<cffunction name="getSurvey" output="false" access="remote" returntype="any">
		<cfargument name="sp" type="string" default="getSurvey" />
		<cfargument name="Survey_ID" type="numeric" />
		<cfargument name="Survey" type="string" default="" />
		<cfreturn this.service.call(argumentCollection = arguments) />
	</cffunction>
	
	<cffunction name="logScholarOrientationCompleted" output="false" access="public" returntype="any">
		<cfargument name="sp" type="string" default="logScholarOrientationCompleted" />
		<cfargument name="Claim_ID" type="string" />
		<cfreturn this.service.call(argumentCollection = arguments) />
	</cffunction>
	
	<cffunction name="logMobileFacebookLike" output="false" access="public" returntype="any">
		<cfargument name="sp" type="string" default="logMobileFacebookLike" />
		<cfargument name="URL" type="string" />
		<cfreturn this.service.call(argumentCollection = arguments) />
	</cffunction>
	
	<cffunction name="getChampion" output="false" access="public" returntype="any">
		<cfargument name="sp" type="string" default="getChampion" />
		<cfargument name="Token" type="string" />
		<cfreturn this.service.call(argumentCollection = arguments) />
	</cffunction>
	
	<cffunction name="getGDSMatchScores" output="false" access="public" returntype="any">
		<cfargument name="sp" type="string" default="getGDSMatchScores" />
		<cfreturn this.service.call(argumentCollection = arguments) />
	</cffunction>
	
	<!--- <cffunction name="getGDS" output="false" access="public" returntype="any">
		<cfargument name="sp" type="string" default="getGDS" />
		<cfargument name="GDS_ID" type="numeric" />
		<cfreturn this.service.call(argumentCollection = arguments) />
	</cffunction>
	
	<cffunction name="readGDS" output="false" access="public" returntype="any">
		<cfargument name="sp" type="string" default="readGDS" />
		<cfargument name="programYears" type="string" required="no" default="" />
		<cfargument name="workshopIDs" type="string" required="no" default="" />
		<cfargument name="siteIDs" type="string" required="no" default="" />
		<cfargument name="organizerIDs" type="string" required="no" default="" />
		<cfargument name="managerIDs" type="string" required="no" default="" />
		<cfargument name="organizationIDs" type="string" required="no" default="" />
		<cfargument name="countyIDs" type="string" required="no" default="" />
		<cfargument name="regionIDs" type="string" required="no" default="" />
		<cfreturn this.service.call(argumentCollection = arguments) />
	</cffunction> --->
	
	<!--- <cffunction name="getGDSMatchingData" output="false" access="public" returntype="any">
		<cfargument name="sp" type="string" default="getGDSMatchingData" />
		<cfargument name="Program_Year" type="string" required="yes" />
		<cfargument name="regionIDs" type="string" required="yes" />
		<cfargument name="organizationIDs" type="string" required="yes" />
		<cfargument name="matchStatus" type="string" required="yes" hint="matched or unmatched" />
		<cfargument name="rangeStartingScore" type="numeric" required="yes" />
		<cfreturn this.service.call(argumentCollection = arguments) />
	</cffunction> --->
	
	<cffunction name="getScholarshipCounts" output="false" access="public" returntype="any">
		<cfargument name="sp" type="string" default="getScholarshipCounts" />
		<cfargument name="Program_Year" type="string" required="no" default="" />
		<cfargument name="Workshop_ID" type="string" required="no" default="" />
		<cfargument name="Site_ID" type="string" required="no" default="" />
		<cfargument name="Organization_ID" type="string" required="no" default="" />
		<cfargument name="County_ID" type="string" required="no" default="" />
		<cfargument name="Region_ID" type="string" required="no" default="" />
		<cfreturn this.service.call(argumentCollection = arguments) />
	</cffunction>
	
	<cffunction name="getOrderCounts" output="false" access="public" returntype="any">
		<cfargument name="sp" type="string" default="getOrderCounts" />
		<cfargument name="Program_Year" type="string" required="no" default="" />
		<cfargument name="Deleted" type="string" required="no" default="0" />
		<cfargument name="Organization_ID" type="string" required="no" default="" />
		<cfargument name="County_ID" type="string" required="no" default="" />
		<cfargument name="Region_ID" type="string" required="no" default="" />
		<cfreturn this.service.call(argumentCollection = arguments) />
	</cffunction>
	
	<cffunction name="getUnorderedWorkshops" output="false" access="public" returntype="any">
		<cfargument name="sp" type="string" default="getOrderedWorkshops" />
		<cfargument name="Program_Year" type="string" required="no" default="" />
		<cfargument name="Organization_ID" type="string" required="no" default="" />
		<cfreturn this.service.call(argumentCollection = arguments) />
	</cffunction>
	
</cfcomponent>